﻿<!--{inc(header.view.html)}-->

<div class="content" id="content">
	<div class="top-menu-box">
    	<div class="z">
            <span class="z-f"><a href="#">网站设置</a>&nbsp;&gt;</span>
            <span class="z-f"><a href="#">{$modulename}分类增加</a></span>
            <div class="z-f-r"><span class="user-t"><a href="{$site_url}"  target="_blank">网站首页</a></span><span class="user-info"></span><a href="index.php?app=default&act=quit" onClick="return confirm('确认退出管理系统吗？');"   >退出管理</a></div>
        </div>
        <div class="top-menu">
        	<ul>


                                                  <li><a href="index.php?app={$appname}&act=cagrylist"  target="mainframe">{$modulename}分类列表</a></li>
                                               
												 <li class="current"><a href="#" >{$modulename}分类增加</a></li>					 
												 			
			
			
            </ul>
            <div class="clear"></div>
        </div>
    </div>
    
    <div class="main">


                                   
  <form  method="post" action="?app={$appname}&act=cyaddpost">

<table  class="data" >
<tbody>

            <tr >
				<td width="20%"><span class="bold">上级分类：</span></td>
				<td>                                
                    <select name="data[parent_id]" >
				    <option value="0">顶级分类</option>
                         {$catgystr}
					</select>       
                                
               </td>
			</tr>
            
			<tr >
				<td><span class="bold">分类名称：</span></td>
				<td><input  type="text" name="data[cat_name]" value="" /> <span>*</span></td>
			</tr>
			<tr >
				<td><span class="bold">分类排序：</span></td>
				<td><input  type="text" name="data[sort_order]" value="0" style="width:60px" /> <span>*</span></td>
			</tr>

			<tr >
				<td><span class="bold">模块的列表模板:</span></td>
				<td>
    	                                 <select name="data[viewname]" >
 		                                       <option  value="0">请选择...</option>                                        
                                          <?php foreach((array)$viewdata as $_key => $_value ) { ?>                                       
		                                       <option  value="{$_value}">{$_value}</option>                                       
		                                   <?php } ?>
	                                     </select>
                <span>*</span>
               </td>
			</tr> 

			<tr >
				<td><span class="bold">模块的显示模板:</span></td>
				<td>
    	                                 <select name="data[viewshowname]" >
 		                                       <option  value="0">请选择...</option>                                        
                                          <?php foreach((array)$viewdata as $_key => $_value ) { ?>                                          
		                                       <option  value="{$_value}">{$_value}</option>                                       
		                                  <?php } ?>
	                                     </select>
                <span>*</span>
               </td>
			</tr> 
			
<tr>
	<td></td>
	<td><input type="hidden" name="data[type]" value="{$appname}" /><input type="submit"  value=" 提 交 " class="buton"></td>
</tr>
</tbody></table>
</form>                                 
     	
	
		

        
        <div class="notic"><img  src="{$web_view_dir}style/images/light.gif" align="absmiddle" /> <b>提示: </b> <span ></span></div>
    </div>
</div>
<!--{inc(footer.view.html)}-->